{% extends 'layouts/master-page' %}
{% block title %}Vendor browsing{% endblock %}
{% block head %}
  <link href="/static/css/custom/filter.css" rel="stylesheet" />

  <!-- javascript -->
  <script type="text/javascript" src="/static/js/custom/filter.js"></script>
{% endblock %}
{% block content %}
   {% include 'subpages/filters2.html' %}
  <!-- breadcrumb -->
  {% if vendor %}
    <ol class="breadcrumb">
      <li><a href="/browse">Vendors</a></li>
      <li><a href="/browse/{{ vendor }}">{{ vendor }}</a></li>
      <li class="active"> CVE's for {{ product|htmlDecode }}</li>
    </ol>
  {% endif %}
  {% if errors %}
    <div class="well">
      <p class="lead">While searching, the following error(s) occurred:</p>
      {% if 'textsearch' in errors%}
        <b>Fulltext search not enabled</b>
        <p>The current settings in the database do not allow fulltext search.<br />
           If you feel like this should be enabled, please contact your administrator.</p>
      {% endif %}
    </div>
  {% endif %}

  {% include 'subpages/table.html' %}
  {% if not vendor and cve['results']|length == 100 %}
    <p>Top 100 results</p>
  {% endif %}
{% endblock %}

